<HTML>
<HEAD>
<TITLE>Clan Mod Bit Calculator</TITLE>
</HEAD>
<BODY bgcolor="#000000" text="Gray">
<script language="JavaScript">
// chmod calculator. This is useful when setting permissions on cgi files using FTP
// Copyright Peter Crouch 2000. All rights reserved.
// Visit http://www.perlbay.com for other thing written by me
//Visit http://javascriptkit.com for this script and more

function calculator(user, number){
// Admin1
if (user == "Admin1" && number == "1"){var box = eval("document.clanmod.Admin11")}
if (user == "Admin1" && number == "2"){var box = eval("document.clanmod.Admin12")}
if (user == "Admin1" && number == "4"){var box = eval("document.clanmod.Admin14")}
if (user == "Admin1" && number == "8"){var box = eval("document.clanmod.Admin18")}
if (user == "Admin1" && number == "16"){var box = eval("document.clanmod.Admin116")}
if (user == "Admin1" && number == "32"){var box = eval("document.clanmod.Admin132")}
if (user == "Admin1" && number == "64"){var box = eval("document.clanmod.Admin164")}
if (user == "Admin1" && number == "128"){var box = eval("document.clanmod.Admin1128")}
if (user == "Admin1" && number == "256"){var box = eval("document.clanmod.Admin1256")}
if (user == "Admin1" && number == "512"){var box = eval("document.clanmod.Admin1512")}
if (user == "Admin1" && number == "1024"){var box = eval("document.clanmod.Admin11024")}
if (user == "Admin1" && number == "2048"){var box = eval("document.clanmod.Admin12048")}
if (user == "Admin1" && number == "4096"){var box = eval("document.clanmod.Admin14096")}
if (user == "Admin1" && number == "8192"){var box = eval("document.clanmod.Admin18192")}
if (user == "Admin1" && number == "16384"){var box = eval("document.clanmod.Admin116384")}
if (user == "Admin1" && number == "32768"){var box = eval("document.clanmod.Admin132768")}
if (user == "Admin1" && number == "65536"){var box = eval("document.clanmod.Admin165536")}
if (user == "Admin1" && number == "131072"){var box = eval("document.clanmod.Admin1131072")}
if (user == "Admin1" && number == "262144"){var box = eval("document.clanmod.Admin1262144")}
if (user == "Admin1" && number == "524288"){var box = eval("document.clanmod.Admin1524288")}
if (user == "Admin1" && number == "1048576"){var box = eval("document.clanmod.Admin11048576")}
if (user == "Admin1" && number == "2097152"){var box = eval("document.clanmod.Admin12097152")}
if (user == "Admin1" && number == "4194304"){var box = eval("document.clanmod.Admin14194304")}
if (user == "Admin1" && number == "8388608"){var box = eval("document.clanmod.Admin18388608")}
if (user == "Admin1" && number == "16777216"){var box = eval("document.clanmod.Admin116777216")}
if (user == "Admin1" && number == "33554432"){var box = eval("document.clanmod.Admin133554432")}
if (user == "Admin1" && number == "67108864"){var box = eval("document.clanmod.Admin167108864")}
if (user == "Admin1" && number == "134217728"){var box = eval("document.clanmod.Admin1134217728")}
if (user == "Admin1" && number == "268435456"){var box = eval("document.clanmod.Admin1268435456")}
if (user == "Admin1" && number == "536870912"){var box = eval("document.clanmod.Admin1536870912")}
if (user == "Admin1" && number == "1073741824"){var box = eval("document.clanmod.Admin11073741824")}
if (user == "Admin1" && number == "2147483648"){var box = eval("document.clanmod.Admin12147483648")}
if (box.checked == true){
if (user == "Admin1"){
document.clanmod.h_admin1.value += ("+number")
var a= (document.clanmod.h_admin1.value)
var b= eval(a)
document.clanmod.h_admin1.value=b
document.clanmod.t_admin1.value=b
}
}
if (box.checked == false){
if (user == "Admin1"){
if (document.clanmod.h_admin1.value == ""){
document.clanmod.t_admin1.value=""
}else {
var a=(document.clanmod.h_admin1.value);
b=a-(number);
c=eval(b);
document.clanmod.h_admin1.value=c
document.clanmod.t_admin1.value=c
}}if (user == "Admin5"){
if (document.clanmod.h_admin5.value == ""){
document.clanmod.t_admin5.value=""
}else {
var a=(document.clanmod.h_admin5.value);
b=a-(number);
c=eval(b);
document.clanmod.h_admin5.value=c
document.clanmod.t_admin5.value=c
}}
}}
</script>
<CENTER>
<form name="clanmod">
<input name="h_admin1" type="hidden" value="">
<table width="793" cellpadding="5" cellspacing="1" bgcolor="Black" Text="Grey">
  <tr bgcolor="#000000">
    <td colspan="6"><div align="center"><font color="#FF0000" size="3" face="verdana"><b>Clan Mod Admin Bit Calculator</b></font></div></td>
  </tr>
  <tr bgcolor="#333333" align="center">
    <td width="122"><div align="left"><font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><strong><font color="#FFFFFF">Admin CMD </font></strong></font></div></td>
    <td width="120"><center>
      <font size="-1" face="Verdana, Arial, Helvetica, sans-serif"><strong><font color="#FFFFFF">        bitvalue
      </font>
      </strong>      </font>
    </center></td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>AdminTele </b></font></div></td>
    <td><input type="checkbox" name="Admin11" value="1" onClick="calculator('Admin1', 1)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td height="26"><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>Freeze</b></font></div></td>
    <td><input type="checkbox" name="Admin12" value="2" onClick="calculator('Admin1', 2)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>Silence</b></font></div></td>
    <td><input type="checkbox" name="Admin14" value="4" onClick="calculator('Admin1', 4)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>Protect</b></font></div></td>
    <td><input type="checkbox" name="Admin18" value="8" onClick="calculator('Admin1', 8)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>AmBan</b></font></div></td>
    <td><input type="checkbox" name="Admin116" value="16" onClick="calculator('Admin1', 16)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>AmKick</b></font></div></td>
    <td><input type="checkbox" name="Admin132" value="32" onClick="calculator('Admin1', 32)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>NPC</b></font></div></td>
    <td><input type="checkbox" name="Admin164" value="64" onClick="calculator('Admin1', 64)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>InsultSilence </b></font></div></td>
    <td><input type="checkbox" name="Admin1128" value="128" onClick="calculator('Admin1', 128)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>Terminator</b></font></div></td>
    <td><input type="checkbox" name="Admin1256" value="256" onClick="calculator('Admin1', 256)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>DemiGod</b></font></div></td>
    <td><input type="checkbox" name="Admin1512" value="512" onClick="calculator('Admin1', 512)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="Verdana, Arial, Helvetica, sans-serif"><strong>AdminBan</strong></font> </div></td>
    <td><input type="checkbox" name="Admin11024" value="1024" onClick="calculator('Admin1', 1024)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>Scale</b></font></div></td>
    <td><input type="checkbox" name="Admin12048" value="2048" onClick="calculator('Admin1', 2048)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>Splat</b></font></div></td>
    <td><input type="checkbox" name="Admin14096" value="4096" onClick="calculator('Admin1', 4096)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>Slay</b></font></div></td>
    <td><input type="checkbox" name="Admin18192" value="8192" onClick="calculator('Admin1', 8192)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>GrantAdmin</b></font></div></td>
    <td><input type="checkbox" name="Admin116384" value="16384" onClick="calculator('Admin1', 16384)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>ChangeMap</b></font></div></td>
    <td><input type="checkbox" name="Admin132768" value="32768" onClick="calculator('Admin1', 32768)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>Empower</b></font></div></td>
    <td><input type="checkbox" name="Admin165536" value="65536" onClick="calculator('Admin1', 65536)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>Rename</b></font></div></td>
    <td><input type="checkbox" name="Admin1131072" value="131072" onClick="calculator('Admin1', 131072)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>LockName</b></font></div></td>
    <td><input type="checkbox" name="Admin1262144" value="262144" onClick="calculator('Admin1', 262144)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>CSPrint</b></font></div></td>
    <td><input type="checkbox" name="Admin1524288" value="524288" onClick="calculator('Admin1', 524288)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>ForceTeam</b></font></div></td>
    <td><input type="checkbox" name="Admin11048576" value="1048576" onClick="calculator('Admin1', 1048576)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>ChangeMode</b></font></div></td>
    <td><input type="checkbox" name="Admin12097152" value="2097152" onClick="calculator('Admin1', 2097152)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>Monk</b></font></div></td>
    <td><input type="checkbox" name="Admin14194304" value="4194304" onClick="calculator('Admin1', 4194304)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>Weather</b></font></div></td>
    <td><input type="checkbox" name="Admin18388608" value="8388608" onClick="calculator('Admin1', 8388608)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>AddEffect</b></font></div></td>
    <td><input type="checkbox" name="Admin116777216" value="16777216" onClick="calculator('Admin1', 16777216)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>Punish</b></font></div></td>
    <td><input type="checkbox" name="Admin133554432" value="33554432" onClick="calculator('Admin1', 33554432)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>Sleep</b></font></div></td>
    <td><input type="checkbox" name="Admin167108864" value="67108864" onClick="calculator('Admin1', 67108864)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>Slap</b></font></div></td>
    <td><input type="checkbox" name="Admin1134217728" value="134217728" onClick="calculator('Admin1', 134217728)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>LockTeam</b></font></div></td>
    <td><input type="checkbox" name="Admin1268435456" value="268435456" onClick="calculator('Admin1', 268435456)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>AddModel</b></font></div></td>
    <td><input type="checkbox" name="Admin1536870912" value="536870912" onClick="calculator('Admin1', 536870912)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>WhoIP</b></font></div></td>
    <td><input type="checkbox" name="Admin11073741824" value="1073741824" onClick="calculator('Admin1', 1073741824)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>AmVSTR</b></font></div></td>
    <td><input type="checkbox" name="Admin12147483648" value="2147483648" onClick="calculator('Admin1', 2147483648)"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#000000" align="center">
    <td height="32"><div align="left"><font color="#FF0000" size="-1" face="verdana"><b>Bit Value = </b></font></div></td>
    <td><input type="text" name="t_admin1" value="" size="20"></td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
</form>
</CENTER>

<p><font size="-2" face="arial"><CENTER>This script was modified by Xanhorn for NewAge's Clan Mod</CENTER></font></p>
</BODY>
</HTML>